﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;

namespace WaterRevenueMS.Componnent.Data.Mapping.BasicSet
{
    //水表厂商
    partial class ManufacturerMap
    {
        partial void ManufacturerMapAppend()
        {
            this.HasKey(t => t.Id);
            this.Property(t => t.Shui_BCS)
                .HasMaxLength(16);
            this.Property(t => t.Chang_SMC)
                .HasMaxLength(64);
            this.Property(t => t.Chang_SDZ)
                .HasMaxLength(128);
            this.Property(t => t.Chang_SJJ)
                .HasMaxLength(2048);
            this.Property(t => t.Dian_H)
                .HasMaxLength(128);
            this.Property(t => t.Chuan_Z)
                .HasMaxLength(64);
            this.Property(t => t.Lian_XR)
                .HasMaxLength(64);

            this.ToTable("Shui_BCS");
            this.Property(t => t.Id).HasColumnName("Shui_BCS_ID")
                .HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
            this.Property(t => t.Shui_BCS).HasColumnName("Shui_BCS");
            this.Property(t => t.Chang_SMC).HasColumnName("Chang_SMC");
            this.Property(t => t.Chang_SDZ).HasColumnName("Chang_SDZ");
            this.Property(t => t.Chang_SJJ).HasColumnName("Chang_SJJ");
            this.Property(t => t.Dian_H).HasColumnName("Dian_H");
            this.Property(t => t.Chuan_Z).HasColumnName("Chuan_Z");
            this.Property(t => t.Lian_XR).HasColumnName("Lian_XR");
        }
    }
}
